package com.kangye.learnteacher.util;

import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @program: learndeduo
 * @description: redis和session缓存共享
 * @author: 李豪杰
 * @create: 2021-05-17 10:49
 **/
@Configuration
@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 86400 * 30)
public class SessionConfig {
}
